home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / pippki.jar / content / pippki / exceptionDialog.xul < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-10  |  5.2 KB  |  119 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is mozilla.org code.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    - Mozilla Corp
  19.    - Portions created by the Initial Developer are Copyright (C) 2007
  20.    - the Initial Developer. All Rights Reserved.
  21.    -
  22.    - Contributor(s):
  23.    -   Kai Engert <kengert@redhat.com>
  24.    -   Johnathan Nightingale <johnath@mozilla.com>
  25.    -   Steffen Wilberg <steffen.wilberg@web.de>
  26.    -
  27.    - Alternatively, the contents of this file may be used under the terms of
  28.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  29.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  30.    - in which case the provisions of the GPL or the LGPL are applicable instead
  31.    - of those above. If you wish to allow use of your version of this file only
  32.    - under the terms of either the GPL or the LGPL, and not to allow others to
  33.    - use your version of this file under the terms of the MPL, indicate your
  34.    - decision by deleting the provisions above and replace them with the notice
  35.    - and other provisions required by the GPL or the LGPL. If you do not delete
  36.    - the provisions above, a recipient may use your version of this file under
  37.    - the terms of any one of the MPL, the GPL or the LGPL.
  38.    -
  39.    - ***** END LICENSE BLOCK ***** -->
  40.  
  41. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  42.  
  43. <!DOCTYPE dialog SYSTEM "chrome://pippki/locale/certManager.dtd">
  44.  
  45. <dialog id="exceptiondialog"
  46.         windowtype="mozilla:exceptiondialog"
  47.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  48.         title="&exceptionMgr.title;"
  49.         buttons="cancel,extra1,extra2"
  50.         buttonlabelextra1="&exceptionMgr.exceptionButton;"
  51.         buttonaccesskeyextra1="&exceptionMgr.exceptionButtonAccess;"
  52.         style="width: 500px; height: 480px;"
  53.         onload="initExceptionDialog();"
  54.         ondialogextra1="addException();"
  55.         ondialogextra2="checkCert();"
  56.         persist="screenX screenY width height"
  57.         defaultButton="extra2">
  58.   
  59.   <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  60.   <script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
  61.   <script type="application/x-javascript" src="chrome://pippki/content/exceptionDialog.js"/>
  62.   
  63.   <hbox>
  64.     <vbox>
  65.       <image src="moz-icon://stock/gtk-dialog-warning?size=dialog"/>
  66.       <spacer flex="1"/>
  67.     </vbox>
  68.     <vbox flex="1">
  69.       <!-- Note that because of the styling, there must be no whitespace within
  70.       the description tags -->
  71.       <description id="warningText"
  72.                    style="white-space: pre-wrap"/>
  73.       <description id="warningSupplemental"
  74.                    style="font-weight: bold; white-space: pre-wrap;"
  75.                    >&exceptionMgr.supplementalWarning;</description>
  76.     </vbox>
  77.   </hbox>
  78.  
  79.   <groupbox id="locationGroupBox">
  80.     <caption label="&exceptionMgr.certlocation.caption2;"/>
  81.     <hbox align="center">
  82.       <label control="locationTextBox" value="&exceptionMgr.certlocation.url;"/>
  83.       <textbox id="locationTextBox" flex="1" oninput="handleTextChange();"
  84.                value="https://"/>
  85.       <button id="checkCertButton" disabled="true" dlgtype="extra2"
  86.               accesskey="&exceptionMgr.certlocation.accesskey;"
  87.               label="&exceptionMgr.certlocation.download;"/>
  88.     </hbox>
  89.   </groupbox>
  90.  
  91.   <groupbox id="certStatusGroupBox" flex="1">
  92.     <caption label="&exceptionMgr.certstatus.caption;"/>
  93.     <vbox  style="overflow: auto;" flex="1">
  94.       <hbox>
  95.         <description id="headerDescription" style="white-space: pre-wrap;"
  96.                      flex="1"/>
  97.         <vbox>
  98.           <button id="viewCertButton" label="&exceptionMgr.certstatus.viewCert;"
  99.                   accesskey="&exceptionMgr.certstatus.accesskey;"
  100.                   disabled="true" oncommand="viewCertButtonClick();"/>
  101.         </vbox>
  102.       </hbox>      
  103.       <description id="statusDescription"
  104.                    style="font-weight: bold; padding-bottom: 1em;"/>
  105.       <description id="statusLongDescription" style="white-space: pre-wrap;"/>
  106.       <description id="status2Description"
  107.                    style="font-weight: bold; padding-bottom: 1em;"/>
  108.       <description id="status2LongDescription" style="white-space: pre-wrap;"/>
  109.       <description id="status3Description" 
  110.                    style="font-weight: bold; padding-bottom: 1em;"/>
  111.       <description id="status3LongDescription" style="white-space: pre-wrap;"/>
  112.       <spacer flex="1"/>
  113.     </vbox>
  114.     <checkbox id="permanent" checked="true" disabled="true"
  115.               label="&exceptionMgr.permanent.label;"
  116.               accesskey="&exceptionMgr.permanent.accesskey;"/>
  117.   </groupbox>
  118. </dialog>
  119.